// Main.java
public class Main {
    public static void main(String[] args) {
        Person person1 = new Person("linian", 25);
        Person person2 = new Person("lennon", 30, "123 Main St");
        person1.setAddress("sandau");
        person1.setPhoneNumber("9999999");
        person1.setOccupation("Engineer");
        person2.setPhoneNumber("11111111");
        person2.setOccupation("AvER");

        person1.celebrateBirthday();
        person2.changeOccupation("Professor");


        person1.printInfo();
        System.out.println();
        person2.printInfo();
        System.out.println();




        Car car1 = new Car("Toyota", "Corolla", 2022, "Silver", 25000.0);
        Car car2 = new Car("Honda", "Civic", 2023, "Black", 28000.0);

        car1.accelerate();
        car2.brake();
        car1.honk();
    }
}